import service from "@/utils/request";
// 127.0.0.1:9105/manage/sysUser/login
export function loginService(username, password){
    return service({
        url: "/sysUser/login",
        method: "post",
        data: {
            username, password
        }
    });
}

export function getUserInfoService(){
    return service({
        url: "/sysUser/info",
        method: "get",
    });
}

export function logoutService(){
    return service({
        url: "/sysUser/logout",
        method: "delete",
    });
}